package com.view.components.menu
{
	import flash.display.DisplayObject;
	import flash.display.Loader;
	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.net.URLRequest;
	
	import mx.core.UIComponent;
	
	public class MenuUI extends UIComponent
	{
		public function MenuUI()
		{
			init();
		}
		private function init():void
		{
			var loader:Loader = new Loader();
			loader.contentLoaderInfo.addEventListener(Event.COMPLETE,complete);
			loader.load(new URLRequest("asset/zMenu.swf"));
		}
		private function complete(e:Event):void
		{
			var mc:MovieClip = MovieClip(e.currentTarget.content);
			this.addChild(mc);
			
			mc.mcCon.mcMoneyPanel.mcMoneyEffect.stop();
			mc.mcCon.mcMoneyPanel.mcMoney.txtMoney.text = "fdadfs";
		}
	}
}